import request from '@/utils/request'

export function goodsFindAll(data) {
	return request({
		baseURL:`http://localhost:8000/`,
		url: 'goods',
		method: 'post',
		data
	})
}

export function goodsSave(data) {
	return request({
		baseURL:`http://localhost:8000/`,
		url: 'goods',
		method: 'put',
		data
	})
}
